package com.home.cca.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class Order {
    @SerializedName("Id")
    private int id;
    @SerializedName("BillCode")
    private String billCode;
    @SerializedName("SchoolId")
    private int schoolId;
    @SerializedName("SchoolName")
    private String schoolName;
    @SerializedName("BuyDate")
    private String buyDate;
    @SerializedName("ArriveTime")
    private String arriveTime;
    @SerializedName("AskDate")
    private String askDate;
    @SerializedName("MatCount")
    private int matCount;
    @SerializedName("TotalMoney")
    private double totalMoney;
    @SerializedName("ReceivedMoney")
    private double receivedMoney;
    @SerializedName("OrderSource")
    private String orderSource;
    @SerializedName("OrderState")
    private String orderState;
    @SerializedName("CheckValue")
    private int checkValue;
    @SerializedName("ReturnStatus")
    private int returnStatus;
    @SerializedName("IsHandle")
    private boolean isHandle;
    @SerializedName("AnnexCount")
    private int annexCount;
    @SerializedName("ParamKVs")
    private List<ParamKV> paramKVs;
    @SerializedName("MatList")
    private List<Material> matList;

    public static class ParamKV {
        @SerializedName("Key")
        private String key;
        @SerializedName("Value")
        private String value;

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }


    public static class Material { // 首字母小写
        @SerializedName("OrderDetailId")
        private int orderDetailId;

        @SerializedName("MatName")
        private String matName;

        @SerializedName("Unit")
        private String unit;

        @SerializedName("Qty")
        private double qty;

        @SerializedName("SendState")
        private boolean sendState;

        @SerializedName("MatExpiration")
        private double matExpiration;

        @SerializedName("ProDate")
        private String proDate;

        @SerializedName("ProSerial")
        private String proSerial;

        @SerializedName("Price")
        private double price;

        @SerializedName("Remark")
        private String remark;

        @SerializedName("TotalMoney")
        private double totalMoney;

        @SerializedName("SendQty")
        private double sendQty;

        @SerializedName("RemainSendQty")
        private double remainSendQty;

        @SerializedName("ReceivedQty")
        private double receivedQty;

        @SerializedName("ReceivedMoney")
        private double receivedMoney;

        @SerializedName("TypeName")
        private String typeName;

        @SerializedName("PurchaseAmount")
        private double purchaseAmount;

        @SerializedName("ActualMoney")
        private double actualMoney;

        @SerializedName("Brand")
        private String brand;

        @SerializedName("Standard")
        private String standard;

        @SerializedName("REState")
        private int reState;

        @SerializedName("BarCode")
        private String barCode;

        @SerializedName("ClassName")
        private String className;

        public int getOrderDetailId() {
            return orderDetailId;
        }

        public void setOrderDetailId(int orderDetailId) {
            this.orderDetailId = orderDetailId;
        }

        public String getMatName() {
            return matName;
        }

        public void setMatName(String matName) {
            this.matName = matName;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public double getQty() {
            return qty;
        }

        public void setQty(double qty) {
            this.qty = qty;
        }

        public boolean isSendState() {
            return sendState;
        }

        public void setSendState(boolean sendState) {
            this.sendState = sendState;
        }

        public double getMatExpiration() {
            return matExpiration;
        }

        public void setMatExpiration(double matExpiration) {
            this.matExpiration = matExpiration;
        }

        public String getProDate() {
            return proDate;
        }

        public void setProDate(String proDate) {
            this.proDate = proDate;
        }

        public String getProSerial() {
            return proSerial;
        }

        public void setProSerial(String proSerial) {
            this.proSerial = proSerial;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public double getTotalMoney() {
            return totalMoney;
        }

        public void setTotalMoney(double totalMoney) {
            this.totalMoney = totalMoney;
        }

        public double getSendQty() {
            return sendQty;
        }

        public void setSendQty(double sendQty) {
            this.sendQty = sendQty;
        }

        public double getRemainSendQty() {
            return remainSendQty;
        }

        public void setRemainSendQty(double remainSendQty) {
            this.remainSendQty = remainSendQty;
        }

        public double getReceivedQty() {
            return receivedQty;
        }

        public void setReceivedQty(double receivedQty) {
            this.receivedQty = receivedQty;
        }

        public double getReceivedMoney() {
            return receivedMoney;
        }

        public void setReceivedMoney(double receivedMoney) {
            this.receivedMoney = receivedMoney;
        }

        public String getTypeName() {
            return typeName;
        }

        public void setTypeName(String typeName) {
            this.typeName = typeName;
        }

        public double getPurchaseAmount() {
            return purchaseAmount;
        }

        public void setPurchaseAmount(double purchaseAmount) {
            this.purchaseAmount = purchaseAmount;
        }

        public double getActualMoney() {
            return actualMoney;
        }

        public void setActualMoney(double actualMoney) {
            this.actualMoney = actualMoney;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }

        public String getStandard() {
            return standard;
        }

        public void setStandard(String standard) {
            this.standard = standard;
        }

        public int getReState() {
            return reState;
        }

        public void setReState(int reState) {
            this.reState = reState;
        }

        public String getBarCode() {
            return barCode;
        }

        public void setBarCode(String barCode) {
            this.barCode = barCode;
        }

        public String getClassName() {
            return className;
        }

        public void setClassName(String className) {
            this.className = className;
        }
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBillCode() {
        return billCode;
    }

    public void setBillCode(String billCode) {
        this.billCode = billCode;
    }

    public int getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(int schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getBuyDate() {
        return buyDate;
    }

    public void setBuyDate(String buyDate) {
        this.buyDate = buyDate;
    }

    public String getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(String arriveTime) {
        this.arriveTime = arriveTime;
    }

    public String getAskDate() {
        return askDate;
    }

    public void setAskDate(String askDate) {
        this.askDate = askDate;
    }

    public int getMatCount() {
        return matCount;
    }

    public void setMatCount(int matCount) {
        this.matCount = matCount;
    }

    public double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public double getReceivedMoney() {
        return receivedMoney;
    }

    public void setReceivedMoney(double receivedMoney) {
        this.receivedMoney = receivedMoney;
    }

    public String getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(String orderSource) {
        this.orderSource = orderSource;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public int getCheckValue() {
        return checkValue;
    }

    public void setCheckValue(int checkValue) {
        this.checkValue = checkValue;
    }

    public int getReturnStatus() {
        return returnStatus;
    }

    public void setReturnStatus(int returnStatus) {
        this.returnStatus = returnStatus;
    }

    public boolean isHandle() {
        return isHandle;
    }

    public void setHandle(boolean handle) {
        isHandle = handle;
    }

    public int getAnnexCount() {
        return annexCount;
    }

    public void setAnnexCount(int annexCount) {
        this.annexCount = annexCount;
    }

    public List<ParamKV> getParamKVs() {
        return paramKVs;
    }

    public void setParamKVs(List<ParamKV> paramKVs) {
        this.paramKVs = paramKVs;
    }

    public List<Material> getMatList() {
        return matList;
    }

    public void setMatList(List<Material> matList) {
        this.matList = matList;
    }
}